package com.marvels.financial.funds.dao;

import com.github.pagehelper.Page;
import com.marvels.financial.funds.dto.McfeMtRepaymentTrialApplyDTO;
import com.marvels.financial.funds.dto.MtSettleTrialConditionDTO;
import com.marvels.financial.funds.dto.MtSettleTrialListDTO;
import org.apache.ibatis.annotations.Param;

public interface McfeMtRepaymentTrialApplyMapper {
    
	/**
	 * 民泰提前结清试算列表
	 * @param conditionDTO
	 * @return
	 */
	public Page<MtSettleTrialListDTO> settleTrialList(MtSettleTrialConditionDTO conditionDTO);
	
	
	/**
	 * 通过loanId查询条数
	 * @param loanId
	 * @return
	 */
	public int queryByLoanId(@Param("loanId") String loanId);
	
	
	/**
	 * 新增明泰提前还清申请信息
	 * @param conditionDTO
	 * @return
	 */
	public int insertSelective(McfeMtRepaymentTrialApplyDTO dTO);
	
	
	
	
	/**
	 * 更新明泰提前还清申请信息
	 * @param conditionDTO
	 * @return
	 */
	public int updateTrialApply(McfeMtRepaymentTrialApplyDTO dTO);
	
	
}